package com.bestcem.xm.ticket.service.dto.mq;

import cn.hutool.core.annotation.Alias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * TicketStatusUpdateDto
 * @author jy.zhao
 * @version 1.0
 * @date 2021/9/1 19:57
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class TicketStatusUpdateDto {

    /**
     * 工单规则id
     */
    private List<String> ruleIdList;

    /**
     * 工单记录id
     */
    private String recordId;

    @Alias(value = "rspd")
    private RespondentData respondentData;

    @Data
    public static class RespondentData {
        /**
         * 答卷编号
         */
        private String seq;

        /**
         * 答卷状态
         */
        private Integer status;

        /**
         *
         */
        private String againDeliverRecordId;
    }

}
